package com.dao;

import com.core.model.user.Administrator;
import com.core.model.user.Customer;
import com.core.model.user.User;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-10-23
 * Time: 下午2:53
 * To change this template use File | Settings | File Templates.
 */
public interface UserDao extends EntityDao {

    Customer findCustomerByUsername(String username);

    Administrator findAdministratorByUsername(String username);

    void delUserRoleByUserId(User user);
}
